package com.enterprise.domain;

public class Node {
	private int id;
	private String className;
	private int parentId;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public Node(int id, String className, int parentId) {
		super();
		this.id = id;
		this.className = className;
		this.parentId = parentId;
	}
	public Node() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Node [id=" + id + ", className=" + className + ", parentId="
				+ parentId + "]";
	}
	
	
}
